#ifndef SERVERSOCKET_H
#define SERVERSOCKET_H


class ServerSocket{

	public:
		ServerSocket();
		ServerSocket(char *ip,short port);
		//方法功能:	等待客户端的链接，如果有客户端链接上来，创建客户端线程接收数据
		void acceptClient();
		~ServerSocket();
	private:
		int listenFd;//监听
		int connectFd;//连接
		
};

#endif
